/**
 * es6的原生语法
 */
let arr = [1, 2, [3, 4, 5], [6, 7, [8, 9]]];
let a = arr.flat(2);
console.log(a);
